package com.gongpingjialoan.data;

import java.util.List;

/**
 * Created by Administrator on 2017/6/8.
 */
public class LoanData {

    /**
     * status : success
     * code : 200
     * msg : message
     * data : {"options":[{"name":"零首付","rate":"0.88%","months":36,"month_pay":"402.36","proportion":"0","advance":"0"},{"name":"低首付","rate":"0.75%","months":36,"month_pay":"357.50","proportion":"10%","advance":"1100.00"},{"name":"超低月供","rate":"0.5%","months":36,"month_pay":"219.39","proportion":"30%","advance":"3300.00"}]}
     */

    private String status;
    private int code;
    private String msg;
    private DataBean data;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<OptionsBean> options;

        public List<OptionsBean> getOptions() {
            return options;
        }

        public void setOptions(List<OptionsBean> options) {
            this.options = options;
        }

        public static class OptionsBean {
            /**
             * name : 零首付
             * rate : 0.88%
             * months : 36
             * month_pay : 402.36
             * proportion : 0
             * advance : 0
             */

            private String name;
            private String rate;
            private int months;
            private String month_pay;
            private String proportion;
            private String advance;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getRate() {
                return rate;
            }

            public void setRate(String rate) {
                this.rate = rate;
            }

            public int getMonths() {
                return months;
            }

            public void setMonths(int months) {
                this.months = months;
            }

            public String getMonth_pay() {
                return month_pay;
            }

            public void setMonth_pay(String month_pay) {
                this.month_pay = month_pay;
            }

            public String getProportion() {
                return proportion;
            }

            public void setProportion(String proportion) {
                this.proportion = proportion;
            }

            public String getAdvance() {
                return advance;
            }

            public void setAdvance(String advance) {
                this.advance = advance;
            }
        }
    }
}
